package com.jksoft.darewayyyy.util;

import android.util.Log;

import com.jksoft.darewayyyy.global.MyApplication;

/**
 * Created by Administrator on 2015/9/1.
 */
public class LogUtil {

    public static void i(String tag, String message) {
        if (MyApplication.debug) {
            Log.i(tag, message);
        }
    }

    public static void e(String tag, String message) {
        if (MyApplication.debug) {
            Log.e(tag, message);
        }
    }
}
